package week05.necessary.ioc.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * 注解形式：
 * <p>
 * - @Configuration + @Bean
 *
 * @author yky
 * @since 2021/7/27 08:45
 */
@Configuration
public class JavaConfigBean {

    @Bean
    public Object object() {
        return new Object();
    }
}
